<template>
  <div>
    <div class="dy-box">
      <div class="dy-header">
        <div>
          <img src="../../public/img/B_24.jpg" alt />
          <h4>今日好课</h4>
        </div>
        <div>更多></div>
      </div>

      <ul class="dy-list">
        <li>
          <img src="../../public/img/B_02_11.jpg" alt />
          <div class="dy-tw">
            <h4>时间管理四大法宝</h4>
            <div class="dy-wz">
              <p>
                <img width="15" src="../../public/img/B_03.jpg" alt />
                <span>520</span>
              </p>
              <p>
                <img width="15" src="../../public/img/B_06.jpg" alt />
                <span>520</span>
              </p>
              <p>￥1998.0</p>
            </div>
          </div>
        </li>
        <li>
          <img src="../../public/img/B_02_13.jpg" alt />
          <div class="dy-tw">
              <h4>不止是一份毕业证</h4>
            <div class="dy-wz">
              <p>
                <img width="15" src="../../public/img/B_03.jpg" alt />
                <span>520</span>
              </p>
              <p>
                <img width="15" src="../../public/img/B_06.jpg" alt />
                <span>520</span>
              </p>
              <p style="color:green">免费</p>
            </div>
          </div>
        </li>
        <li>
          <img src="../../public/img/B_02_26.jpg" alt />
          <div class="dy-tw">
              <h4>独角巡山图</h4>
            <div class="dy-wz">
              <p>
                <img width="15" src="../../public/img/B_03.jpg" alt />
                <span>520</span>
              </p>
              <p>
                <img width="15" src="../../public/img/B_06.jpg" alt />
                <span>520</span>
              </p>
              <p>￥1998.0</p>
            </div>
          </div>
        </li>
        <li>
          <img src="../../public/img/B_02_27.jpg" alt />
          <div class="dy-tw">
              <h4>佳作不是一蹴而就</h4>
            <div class="dy-wz">
              <p>
                <img width="15" src="../../public/img/B_03.jpg" alt />
                <span>520</span>
              </p>
              <p>
                <img width="15" src="../../public/img/B_06.jpg" alt />
                <span>520</span>
              </p>
              <p>￥1998.0</p>
            </div>
          </div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  data() {
    return {};
  },
  props: [],
  components: {},
  mounted() {},
  methods: {}
};
</script>

<style scoped>
.dy-box {
  width: 100%;
  height: 450px;
  background: #fff;
}
.dy-box > .dy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 60px;
  /* background: violet; */
}
.dy-box > .dy-header > div:nth-of-type(1) {
  display: flex;
  align-content: center;
}
.dy-box > .dy-header > div:nth-of-type(2) {
  color: #aaa;
}
.dy-box > .dy-header > div:nth-of-type(1) > h4 {
  font-size: 20px;
  margin-left: 10px;
}
.dy-box > .dy-header > div:nth-of-type(1) > img {
  height: 20px;
  /* margin-left: 20px; */
}
.dy-list {
  width: 100%;
  height: 390px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.dy-list>li{
    width: 45%;
    height: 150px;
    margin-top: 10px;
    margin-left: 10px;
}
.dy-list>li>img{
    width: 100%;
}
.dy-tw>h4{
    font-size: 18px;
}
.dy-wz{
    display: flex;
    color: #ccc;
    margin-top: 10px;
}
.dy-wz>p{
    margin-left: 5px;
}
.dy-wz>p:nth-of-type(2){
    width: 50px;
}
.dy-wz>p:last-child{
    color: red
}
</style>